package com.lzh.common.MPConfig;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author lizhihang
 * @create 2023-01-30 14:02
 */
@Configuration
public class MyBatisPlusConfig {
    /*
     *
     * 分页插件

     */

    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }



}
